export const empty = (component) => {
    if (!component.params.teamName) {
        component.$toast(component.$t('application.toast.teamName'), 2000, 'warning');
        return 'err';
    } else if (!component.params.schoolName) {
        component.$toast(component.$t('application.toast.schoolName'), 2000, 'warning');
        return 'err';
    } else if (!component.params.conactEmail) {
        component.$toast(component.$t('application.toast.conactEmail'), 2000, 'warning');
        return 'err';
    } else if (!component.params.mailingAddress) {
        component.$toast(component.$t('application.toast.mailingAddress'), 2000, 'warning');
        return 'err';
    }  else if (component.params.memberParams.length <= 0) {
        component.$toast(component.$t('application.toast.memberParams'), 2000, 'warning');
        return 'err';
    }
}